package com.project.class3_29;

import java.util.ArrayList;
import java.util.List;

public class CarTest {
    public static void main(String[] args) {
        Car c1= new Car("川A-KJ2R0","凯迪拉克","蓝色",300000);
        Car c2= new Car("川B-DJ234","宝马","银色",400000);
        Car c3= new Car("川A-DT265","本田","黑色",200000);
        Car c4= new Car("川D-DJ2F8","帕萨特","蓝色",300000);
        Car c5= new Car("川R-DJ2Y7","玛莎拉蒂","白色",300000);


        List<Car> carList = new ArrayList<>();
        carList.add(c1);
        carList.add(c2);
    }
}
